package cn.renxuan.repository;

import cn.renxuan.querys.BaseQuery;
import cn.renxuan.repository.DynamicParameters;

/*
 * 追加sql where 条件 对象
 */
public class AppendWhereActionParam<TQueryEntity> {
    /// <summary>
    ///
    /// </summary>
    /// <value></value>
    private String tableSql;

    /// <summary>
    ///
    /// </summary>
    /// <value></value>
    private String countSql;

    /// <summary>
    /// 追加的where sql语句
    /// </summary>
    /// <value></value>
    private String appendWhereSql;

    /// <summary>
    ///
    /// </summary>
    /// <value></value>
    private DynamicParameters parameters;

    /// <summary>
    ///
    /// </summary>
    /// <value></value>
    private BaseQuery<TQueryEntity> querys;

    public String getTableSql() {
        return tableSql;
    }

    public void setTableSql(String tableSql) {
        this.tableSql = tableSql;
    }

    public String getCountSql() {
        return countSql;
    }

    public void setCountSql(String countSql) {
        this.countSql = countSql;
    }

    public String getAppendWhereSql() {
        return appendWhereSql;
    }

    public void setAppendWhereSql(String appendWhereSql) {
        this.appendWhereSql = appendWhereSql;
    }

    public DynamicParameters getParameters() {
        return parameters;
    }

    public void setParameters(DynamicParameters parameters) {
        this.parameters = parameters;
    }

    public BaseQuery<TQueryEntity> getQuerys() {
        return querys;
    }

    public void setQuerys(BaseQuery<TQueryEntity> querys) {
        this.querys = querys;
    }

}
